﻿<UserControl x:Class="AbhiRuchiFoods.EmployeeTaskMapping"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="800" d:DesignWidth="1024" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Width="auto">
        <Grid>
            <Label Name="lblHeader" Margin="0,10,0,0" VerticalAlignment="Top" HorizontalAlignment="Center" Content="Employee Task Mapping" FontWeight="Bold"></Label>
            <Label Name="lblAddEditEmpTask" Content="Add/Edit Employee Task Mapping" Margin="10,60,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" FontWeight="Bold"></Label>
            <Label Name="lblEmpType" Margin="10,110,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Content="Employee Type"></Label>
            <ComboBox Name="cmbEmbType" Margin="110,110,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="400" Height="25" SelectionChanged="cmbEmbType_SelectionChanged" ItemsSource="{Binding}"></ComboBox>
            <Label Name="lblEmpName" Margin="10,160,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Content="Employee Name"></Label>
            <ComboBox Name="cmbEmpName" Margin="110,160,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="400" Height="25" ItemsSource="{Binding}"></ComboBox>
            <Label Name="lblSections" Margin="10,210,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Content="Section"></Label>
            <ComboBox Name="cmbSections" Margin="110,210,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="400" Height="25" ItemsSource="{Binding}" SelectionChanged="cmbSections_SelectionChanged"></ComboBox>
            <Label Name="lblTask" Margin="10,260,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Content="Task"></Label>
            <ComboBox Name="cmbTask" Margin="110,260,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="400" Height="25" ItemsSource="{Binding}"></ComboBox>
            <Label Name="lblStartDt" Margin="10,310,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Content="Start Date"></Label>
            <DatePicker Name="dtStart" Margin="110,310,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="400" Height="25" SelectedDateChanged="dtStart_SelectedDateChanged"></DatePicker>
            <Label Name="lblEndDt" Margin="10,360,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Content="End Date"></Label>
            <DatePicker Name="dtEnd" Margin="110,360,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="400" Height="25"></DatePicker>
            <Label Name="lblRemarks" Margin="10,410,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Content="Remarks"></Label>
            <TextBox Name="txtRemarks" Margin="110,410,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="400" Height="150"></TextBox>

            <Button Name="btnSubmit" Margin="210,585,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="100" Height="25" Content="Submit" Click="btnSubmit_Click"></Button>
            <Button Name="btnClear" Margin="330,585,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="100" Height="25" Content="Clear" Click="btnClear_Click"></Button>
            <Label Name="lblAvailSec" Margin="606,60,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Content="Available Employee Task Mapping" FontWeight="Bold"></Label>
            <telerik:RadGridView HorizontalAlignment="Left" Margin="606,100,0,0" Width="700" Height="500" Name="gvEmpTaskMapping" VerticalAlignment="Top" RowActivated="gvEmpTaskMapping_RowActivated" IsReadOnly="True" />
        </Grid>
    </ScrollViewer>
</UserControl>
